.class public Les/rh;
.super Ljava/lang/Object;
.source "CmsRecommendCardViewMaker.java"

# interfaces
.implements Les/lh;


# instance fields
.field private a:Lcom/estrongs/android/biz/cards/cardfactory/c;

.field private b:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Les/rh;->b:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a(Landroid/view/ViewGroup;Landroid/content/Context;)Landroid/view/View;
    .locals 2

    .line 2
    iget-object v0, p0, Les/rh;->b:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/biz/cards/cardfactory/e;->d(Ljava/lang/String;)I

    move-result v0

    .line 3
    invoke-static {p2}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p2

    const/4 v1, 0x0

    invoke-virtual {p2, v0, p1, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p1

    return-object p1
.end method

.method public synthetic a()V
    .locals 0

    invoke-static {p0}, Les/kh;->a(Les/lh;)V

    return-void
.end method

.method public a(Landroid/view/View;Les/yg;Landroid/content/Context;ILandroidx/recyclerview/widget/RecyclerView$Adapter;)V
    .locals 7

    .line 4
    instance-of p4, p2, Les/ch;

    if-eqz p4, :cond_5

    .line 5
    :try_start_0
    move-object p4, p2

    check-cast p4, Les/ch;

    .line 6
    invoke-virtual {p4}, Les/ch;->i()Ljava/lang/String;

    move-result-object v0

    .line 7
    invoke-virtual {p4}, Les/ch;->o()Ljava/lang/String;

    move-result-object v1

    .line 8
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const-string v6, "s03"

    if-eqz v2, :cond_0

    .line 9
    :try_start_1
    iget-object p3, p0, Les/rh;->a:Lcom/estrongs/android/biz/cards/cardfactory/c;

    iget-object v1, p0, Les/rh;->b:Ljava/lang/String;

    invoke-static {p1, p2, p3, v0, v1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/view/View;Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_1

    .line 10
    :cond_0
    invoke-static {v1}, Lcom/estrongs/android/biz/cards/cardfactory/k;->b(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f110056

    .line 11
    invoke-virtual {p3, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_1
    const v0, 0x7f1101dc

    .line 12
    invoke-virtual {p3, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 13
    :goto_0
    iget-object v1, p0, Les/rh;->b:Ljava/lang/String;

    invoke-virtual {v1, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 14
    iget-object v4, p0, Les/rh;->a:Lcom/estrongs/android/biz/cards/cardfactory/c;

    iget-object v5, p0, Les/rh;->b:Ljava/lang/String;

    move-object v0, p3

    move-object v1, p1

    move-object v2, p2

    move-object v3, p4

    invoke-static/range {v0 .. v5}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/content/Context;Landroid/view/View;Les/yg;Les/ch;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;)V

    goto :goto_1

    .line 15
    :cond_2
    iget-object p3, p0, Les/rh;->a:Lcom/estrongs/android/biz/cards/cardfactory/c;

    iget-object v1, p0, Les/rh;->b:Ljava/lang/String;

    invoke-static {p1, p2, p3, v0, v1}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/view/View;Les/yg;Lcom/estrongs/android/biz/cards/cardfactory/c;Ljava/lang/String;Ljava/lang/String;)V

    .line 16
    :goto_1
    invoke-virtual {p4}, Les/ch;->q()Ljava/lang/String;

    move-result-object p2

    .line 17
    iget-object p3, p0, Les/rh;->b:Ljava/lang/String;

    invoke-virtual {p3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_3

    .line 18
    invoke-virtual {p4}, Les/ch;->r()Ljava/lang/String;

    move-result-object p3

    .line 19
    invoke-static {p1, p2, p3}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/view/View;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_2

    .line 20
    :cond_3
    invoke-static {p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/e;->c(Landroid/view/View;Ljava/lang/String;)V

    .line 21
    :goto_2
    invoke-virtual {p4}, Les/ch;->s()Ljava/lang/String;

    move-result-object p2

    .line 22
    invoke-static {p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/e;->d(Landroid/view/View;Ljava/lang/String;)V

    .line 23
    invoke-virtual {p4}, Les/ch;->p()Ljava/lang/String;

    move-result-object p2

    .line 24
    invoke-static {p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/e;->b(Landroid/view/View;Ljava/lang/String;)V

    .line 25
    invoke-virtual {p4}, Les/ch;->m()Ljava/lang/String;

    move-result-object p2

    .line 26
    iget-object p3, p0, Les/rh;->b:Ljava/lang/String;

    invoke-virtual {p3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p3

    if-eqz p3, :cond_4

    .line 27
    invoke-static {p1, p2, p5}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/view/View;Ljava/lang/String;Landroidx/recyclerview/widget/RecyclerView$Adapter;)V

    goto :goto_3

    .line 28
    :cond_4
    invoke-static {p1, p2}, Lcom/estrongs/android/biz/cards/cardfactory/e;->a(Landroid/view/View;Ljava/lang/String;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_3

    :catch_0
    move-exception p1

    .line 29
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_5
    :goto_3
    return-void
.end method

.method public a(Lcom/estrongs/android/biz/cards/cardfactory/c;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/rh;->a:Lcom/estrongs/android/biz/cards/cardfactory/c;

    return-void
.end method

.method public getType()Ljava/lang/String;
    .locals 1

    const-string v0, "recommend"

    return-object v0
.end method
